package com.itmk.web.websocket.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class Message {

    private Long id;
    private String message;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String username;
    private String userUuid;
    private String tousername;
    private String touserUuid;
    private String type;
    private String userProfile;
    private String touserProfile;
}
